package com.jdyinfo.ic.eweixin;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource(value= {"classpath:/eweixin-${spring.profiles.active}.properties"},ignoreResourceNotFound=false,encoding="utf-8")
public class WorkWeixinScrmConfig {
	@Value("${scrm.corpid}")
	private String corpId;
	
	@Value("${scrm.agentid}")
	private String agentId;
	
	@Value("${scrm.appsecret}")
	private String appSecret;
	
	@Value("${scrm.contactsecret}")
	private String contactSecret;

	public String getCorpId() {
		return corpId;
	}

	public void setCorpId(String corpId) {
		this.corpId = corpId;
	}

	public String getAgentId() {
		return agentId;
	}

	public void setAgentId(String agentId) {
		this.agentId = agentId;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	public String getContactSecret() {
		return contactSecret;
	}

	public void setContactSecret(String contactSecret) {
		this.contactSecret = contactSecret;
	}
	
}
